package com.xmtlxx.system.domain.bo;

import com.xmtlxx.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * OSS对象存储分页查询对象 sys_oss
 *
 * @author xmtlxx
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("OSS对象存储分页查询对象")
@NoArgsConstructor
public class SysOssBo extends BaseEntity {

    /**
     * 文件名
     */
    @ApiModelProperty("文件名")
    private String fileName;
    /**
     * 原名
     */
    @ApiModelProperty("原名")
    private String originalName;
    /**
     * 文件后缀名
     */
    @ApiModelProperty("文件后缀名")
    private String fileSuffix;
    /**
     * URL地址
     */
    @ApiModelProperty("URL地址")
    private String url;
    /**
     * 服务商
     */
    @ApiModelProperty("服务商")
    private String service;

    /**
     * 租户(企业)ID
     */
    @ApiModelProperty(value = "租户(企业)ID")
    private Long tenantId;

    /**
     * 业务类型
     */
    @ApiModelProperty(value = "业务类型")
    private String buss;

    /**
     * 对象ID
     */
    @ApiModelProperty(value = "对象ID")
    private String objid;

    private List<String> objIds;

    private String handoverId;

    public SysOssBo(String objid, String buss) {
        this.buss = buss;
        this.objid = objid;
    }

}
